package com.ruoyi.ora.factory;

import com.ruoyi.common.enums.dict.AiPlatform;
import com.ruoyi.ora.service.IAiInterfaceService;
import com.ruoyi.ora.service.impl.ChatMygptlifeServiceImpl;

@Deprecated
public class ChatCompletionsFactory {

    public static IAiInterfaceService build(int aiPlatform){

        if (aiPlatform == AiPlatform.MYGPTLIFE.getValue()){
            return new ChatMygptlifeServiceImpl();
        }else if (aiPlatform == AiPlatform.WHISPER.getValue()){
            return null;
        }else {
            return null;
        }
    }
}
